﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008D9 RID: 2265
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeartDialTraceScriptScRsp : IMessage<HeartDialTraceScriptScRsp>, IMessage, IEquatable<HeartDialTraceScriptScRsp>, IDeepCloneable<HeartDialTraceScriptScRsp>, IBufferMessage
	{
		// Token: 0x17001CA9 RID: 7337
		// (get) Token: 0x06006589 RID: 25993 RVA: 0x00110B11 File Offset: 0x0010ED11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeartDialTraceScriptScRsp> Parser
		{
			get
			{
				return HeartDialTraceScriptScRsp._parser;
			}
		}

		// Token: 0x17001CAA RID: 7338
		// (get) Token: 0x0600658A RID: 25994 RVA: 0x00110B18 File Offset: 0x0010ED18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeartDialTraceScriptScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001CAB RID: 7339
		// (get) Token: 0x0600658B RID: 25995 RVA: 0x00110B2A File Offset: 0x0010ED2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeartDialTraceScriptScRsp.Descriptor;
			}
		}

		// Token: 0x0600658C RID: 25996 RVA: 0x00110B31 File Offset: 0x0010ED31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeartDialTraceScriptScRsp()
		{
		}

		// Token: 0x0600658D RID: 25997 RVA: 0x00110B3C File Offset: 0x0010ED3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeartDialTraceScriptScRsp(HeartDialTraceScriptScRsp other) : this()
		{
			this.pENKIFIKIAC_ = ((other.pENKIFIKIAC_ != null) ? other.pENKIFIKIAC_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600658E RID: 25998 RVA: 0x00110B88 File Offset: 0x0010ED88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeartDialTraceScriptScRsp Clone()
		{
			return new HeartDialTraceScriptScRsp(this);
		}

		// Token: 0x17001CAC RID: 7340
		// (get) Token: 0x0600658F RID: 25999 RVA: 0x00110B90 File Offset: 0x0010ED90
		// (set) Token: 0x06006590 RID: 26000 RVA: 0x00110B98 File Offset: 0x0010ED98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HNGOJHBPFEJ PENKIFIKIAC
		{
			get
			{
				return this.pENKIFIKIAC_;
			}
			set
			{
				this.pENKIFIKIAC_ = value;
			}
		}

		// Token: 0x17001CAD RID: 7341
		// (get) Token: 0x06006591 RID: 26001 RVA: 0x00110BA1 File Offset: 0x0010EDA1
		// (set) Token: 0x06006592 RID: 26002 RVA: 0x00110BA9 File Offset: 0x0010EDA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06006593 RID: 26003 RVA: 0x00110BB2 File Offset: 0x0010EDB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeartDialTraceScriptScRsp);
		}

		// Token: 0x06006594 RID: 26004 RVA: 0x00110BC0 File Offset: 0x0010EDC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeartDialTraceScriptScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.PENKIFIKIAC, other.PENKIFIKIAC) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006595 RID: 26005 RVA: 0x00110C10 File Offset: 0x0010EE10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.pENKIFIKIAC_ != null)
			{
				num ^= this.PENKIFIKIAC.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006596 RID: 26006 RVA: 0x00110C65 File Offset: 0x0010EE65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006597 RID: 26007 RVA: 0x00110C6D File Offset: 0x0010EE6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006598 RID: 26008 RVA: 0x00110C78 File Offset: 0x0010EE78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.pENKIFIKIAC_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.PENKIFIKIAC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006599 RID: 26009 RVA: 0x00110CD4 File Offset: 0x0010EED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.pENKIFIKIAC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PENKIFIKIAC);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600659A RID: 26010 RVA: 0x00110D2C File Offset: 0x0010EF2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeartDialTraceScriptScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.pENKIFIKIAC_ != null)
			{
				if (this.pENKIFIKIAC_ == null)
				{
					this.PENKIFIKIAC = new HNGOJHBPFEJ();
				}
				this.PENKIFIKIAC.MergeFrom(other.PENKIFIKIAC);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600659B RID: 26011 RVA: 0x00110D94 File Offset: 0x0010EF94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600659C RID: 26012 RVA: 0x00110DA0 File Offset: 0x0010EFA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 98U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.pENKIFIKIAC_ == null)
						{
							this.PENKIFIKIAC = new HNGOJHBPFEJ();
						}
						input.ReadMessage(this.PENKIFIKIAC);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040026D0 RID: 9936
		private static readonly MessageParser<HeartDialTraceScriptScRsp> _parser = new MessageParser<HeartDialTraceScriptScRsp>(() => new HeartDialTraceScriptScRsp());

		// Token: 0x040026D1 RID: 9937
		private UnknownFieldSet _unknownFields;

		// Token: 0x040026D2 RID: 9938
		public const int PENKIFIKIACFieldNumber = 12;

		// Token: 0x040026D3 RID: 9939
		private HNGOJHBPFEJ pENKIFIKIAC_;

		// Token: 0x040026D4 RID: 9940
		public const int RetcodeFieldNumber = 11;

		// Token: 0x040026D5 RID: 9941
		private uint retcode_;
	}
}
